package cn.silver.module.system.controller;


import cn.silver.framework.mybatis.controller.BaseController;
import cn.silver.module.system.bean.WebsiteBean;
import cn.silver.module.system.domain.SysWebsite;
import cn.silver.module.system.param.WebsiteParam;
import cn.silver.module.system.service.ISysWebsiteService;
import io.swagger.v3.oas.annotations.tags.Tag;
import jakarta.annotation.Resource;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


/**
 * 常用网址Controller
 *
 * @author zhouxiaobo
 */
@RestController
@RequiredArgsConstructor
@Tag(name = "系统管理-用户管理-常用网址管理")
@RequestMapping("/system/website")
public class SysWebsiteController extends BaseController<ISysWebsiteService, SysWebsite, WebsiteParam, WebsiteBean> {

    @Override
    @Resource
    public void setBaseService(ISysWebsiteService baseService) {
        this.baseService = baseService;
        this.setTitle("系统管理-用户管理-常用网址管理");
        this.setCode("system_website");
    }
}
